package com.ws.dao;

import com.ws.entity.BaseBike;
import com.ws.entity.BikeCompany;

/**
 * @author 王硕
 * @version jdk21
 * @className BikeDao
 * @description
 * @date 2024/11/16 15:00
 */
public interface BikeDao {
    void viewBikeCompany(BikeCompany[] bikeCompanies);
    void viewBike(BaseBike[] bikes);
    void dropBike(BikeCompany company, int num);
    //删除单车
    void deleteBike(BikeCompany company, Integer bid);
    //借出Bike
    void loanBike(BikeCompany company, Integer bid);
    void returnBike(BikeCompany company, Integer bid);
    void viewLoanRank(BikeCompany[] bikeCompanies);
}